import { defHttp } from '@/utils/http/axios';

enum Api {
  WorkbenchStatistic = '/basic-api/v2/admin/workbench/statistic',
  WorkbenchProject = '/basic-api/v2/admin/workbench/project',
}

// workbench
export const getWorkbenchStatistic = () => defHttp.post<any>({ url: Api.WorkbenchStatistic });
export const getWorkbenchProject = () =>
  defHttp.post<any>({ url: Api.WorkbenchProject }, { isTransformResponse: false });
